Adjust.mesh.import.settings
Much like textures, meshes can consume excess memory if not imported
carefully To minimize meshes’ memory consumption:
—
—
Compress.the.mesh:.Aggressive
compression can reduce disk space
(memory at runtime, however, is unaffected)
Note that mesh quantization can result in
inaccuracy, so experiment with compression
levels to see what works for your models
Disable.Read/Write:.Enabling this option
duplicates the mesh in memory, keeping one
copy of the mesh in system memory and
another in GPU memory In most cases, you
should disable it (in Unity 20192 and earlier,
this option is checked by default)
—
—
Disable.rigs.and.BlendShapes:.If your
mesh does not need skeletal or
blendshape animation, disable these
options wherever possible
Disable.normals.and.tangents,.if.possible:..
If you are certain the mesh ’s material will not
need normals or tangents, uncheck these
options for extra savings
Check your mesh import settings
Check.your.polygon.counts.
Higherꢀresolution models mean more memory usage and potentially longer
GPU times Does your background geometry need half a million polygons?
Consider cutting down models in your DCC package of choice Delete unseen
polygons from the camera’s point of view Use textures and normal maps for fine
detail instead of highꢀdensity meshes
Automate.your.import.settings.using.the.AssetPostprocessor.
This allows you to customize settings before and/or after importing models,
textures, audio, and so on
©
2021 Unity Technologies